package com.team.cluedo.app;

import android.app.Activity;
import android.content.pm.ActivityInfo;
import android.os.Bundle;
import android.view.Menu;
import android.view.MenuItem;
import android.view.View;
import android.view.View.OnClickListener;

import com.team.cluedo.app.utils.CluedoMenu;

public class SendHypothese extends Activity implements OnClickListener{

	@Override
	public boolean onCreateOptionsMenu(Menu menu) {
		super.onCreateOptionsMenu(menu);
		return CluedoMenu.onCreateOptionsMenu(menu, this);
	}
	
	@Override
	public boolean onOptionsItemSelected(MenuItem item) {
		return CluedoMenu.onOptionsItemSelected(item, this);
	}
	
	@Override
	public void onCreate(Bundle savedInstanceState) {
	    super.onCreate(savedInstanceState);
	    setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE);
	    // setting the start point for the pictures
//        Point point1 = new Point();
//        point1.x = 5;
//        point1.y = 40;
//        Point point2 = new Point();
//        point2.x = 100;
//        point2.y = 40;
//        Point point3 = new Point();
//        point3.x = 200;
//        point3.y = 40;
//        
//	    ImageBitmap[] imgs = new ImageBitmap[3];
//	    
//	    imgs[0] = new ImageBitmap(this,R.drawable.mrswhite, point1);
//        imgs[1] = new ImageBitmap(this,R.drawable.candlestick, point2);
//        imgs[2] = new ImageBitmap(this,R.drawable.hall, point3);
        
       // setContentView(new DrawTouchImageHypo(this,null));
	    
	}
    
	@Override
	public void onClick(View v) {
//		Intent defineIntent;
//		switch (v.getId()) {
//		case R.id.ImageViewSendHypoPerso:
//			defineIntent = new Intent(this,ViewCard.class);
//     		this.startActivity(defineIntent);
//		break;
//		case R.id.ImageViewSendHypoArme:
//			defineIntent = new Intent(this,ViewCard.class);
//     		this.startActivity(defineIntent);
//		break;
//		case R.id.ImageViewSendHypoPiece:
//			defineIntent = new Intent(this,ViewCard.class);
//     		this.startActivity(defineIntent);
//		break;
//		default: break;
//		}
		
	}
}
